import request from "@/request/request.js";

//获取所有的商铺信息
export function getShopList(data) {
	return request({
		url: '/front/scooper/pageList',
		method: 'GET',
		data
	})
}
 
 // 根据 id 查询商铺信息
 export function getShop(data) {
 	return request({
 		url: '/front/scooper/load',
 		method: 'GET',
 		data
 	})
 }

 // 添加商铺
 export function addShopApi(data) {
 	return request({
 		url: '/front/scooper/insert',
 		method: 'post',
 		data
 	})
 }

 // 行业分类查询
 export function IndustryListApi(data) {
 	return request({
 		url: '/front/scooper/classifys',
 		method: 'get',
 		data
 	})
 }
 
 //修改商铺信息
 export function editShopList(data) {
 	return request({
 		url: '/front/scooper/update',
 		method: 'POST',
 		data
 	})
 }